package com.atguigu.spzx.user.service.Impl;

import com.atguigu.spyx.model.common.com.atguigu.spyx.model.entity.h5.Region;
import com.atguigu.spzx.user.mapper.RegionMapper;
import com.atguigu.spzx.user.service.RegionService;
import jakarta.annotation.Resource;
import org.springframework.stereotype.Service;


import java.util.List;

/**
 * @author LT
 * @create 2023-11-21-17:48
 */
@Service
public class RegionServiceImpl implements RegionService {
    @Resource
    RegionMapper regionMapper;
    @Override
    public List<Region> findByParentCode(Integer parentCode) {
        return regionMapper.findByParentCode(parentCode);
    }
}
